package com.tjsinfo.tjsoa.worklog.vo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.tjsinfo.tjsoa.system.vo.TSystemUser;

/**
 * WorkLogMain entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class WorkLogMain implements java.io.Serializable {

	// Fields

	private String id;
	private TSystemUser tjsUser;
	private Date time;
	private String type;
	private String content;
	private String completeContent;
	private Integer year;
	private Integer number;
	private Integer start;
	private Integer submittype;
	private Set workLogExamines = new HashSet(0);

	// Constructors

	public Integer getSubmittype() {
		return submittype;
	}

	public void setSubmittype(Integer submittype) {
		this.submittype = submittype;
	}

	/** default constructor */
	public WorkLogMain() {
	}

	/** minimal constructor */
	public WorkLogMain(TSystemUser tjsUser) {
		this.tjsUser = tjsUser;
	}

	/** full constructor */
	public WorkLogMain(TSystemUser tjsUser, Date time, String type, String content,
			String completeContent, Integer year, Integer number,
			Integer start, Set workLogExamines) {
		this.tjsUser = tjsUser;
		this.time = time;
		this.type = type;
		this.content = content;
		this.completeContent = completeContent;
		this.year = year;
		this.number = number;
		this.start = start;
		this.workLogExamines = workLogExamines;
	}
	

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public TSystemUser getTjsUser() {
		return this.tjsUser;
	}

	public void setTjsUser(TSystemUser tjsUser) {
		this.tjsUser = tjsUser;
	}

	public Date getTime() {
		return this.time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getCompleteContent() {
		return this.completeContent;
	}

	public void setCompleteContent(String completeContent) {
		this.completeContent = completeContent;
	}

	public Integer getYear() {
		return this.year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public Integer getNumber() {
		return this.number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public Integer getStart() {
		return this.start;
	}

	public void setStart(Integer start) {
		this.start = start;
	}

	public Set getWorkLogExamines() {
		return this.workLogExamines;
	}

	public void setWorkLogExamines(Set workLogExamines) {
		this.workLogExamines = workLogExamines;
	}

}